SOCleanup


C Specification

#include <dolphin/socket.h>

int SOCleanup ( void );

Description

SOCleanup() closes all the open sockets and shutdowns the socket library. Further calls to the socket functions return SO_ENETRESET errors until the socket library is reinitialized with SOStartup().

Arguments

None.

Return Values

zero Succeeded.
SO_ENETRESET Socket library is not initialized.

Note: Additional errors may be generated and returned in future library releases. All the negative return values must be treated as generic errors.

See Also

SOStartup()